package com.xcesys.extras.dataobject.system;

import com.xcesys.extras.dataobject.TreeNode;

public class Department extends TreeNode<Department> {
	private static final long serialVersionUID = 5929748638663038000L;
	private String deptNo;
	private String nameEn;
	private String nameZh;
	private String description;

	public String getDeptNo() {
		return deptNo;
	}

	public String getDescription() {
		return description;
	}

	public String getNameEn() {
		return nameEn;
	}

	public String getNameZh() {
		return nameZh;
	}

	public void setDeptNo(String deptNo) {
		Object oldValue = this.deptNo;
		this.deptNo = deptNo;
		firePropertyChange("deptNo", oldValue, deptNo);
	}

	public void setDescription(String desc) {
		Object oldValue = this.description;
		this.description = desc;
		firePropertyChange("desc", oldValue, desc);
	}

	public void setNameEn(String nameEn) {
		Object oldValue = this.nameEn;
		this.nameEn = nameEn;
		firePropertyChange("nameEn", oldValue, nameEn);
	}

	public void setNameZh(String nameCn) {
		Object oldValue = this.nameZh;
		this.nameZh = nameCn;
		firePropertyChange("nameCn", oldValue, nameCn);
	}

}
